package answer.service;

import commons.pojo.Item;


import commons.pojo.Shipin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "ITEM")
@Service
public interface ConsumerService {
    @GetMapping("/like")
    public Item getLike(@RequestParam("id") int id);

    @GetMapping("/likee")
    public Shipin likee(@RequestParam("id") int id);
}
